import { NPlayer } from "../config/constants";
import { RSetState } from "../config/constants";

// 其他玩家相关数据
export default {
  namespace: NPlayer,
  state: {
    players: new Map(),
  },
  reducers: {
    [RSetState](state: any, payload: any) {
      return {
        ...state,
        ...payload,
      };
    },
  },
  effects: {},
};
